/* eslint-disable no-unused-vars */
import namespace from "../../namespace";

/**
 * 键盘监听交互策略
 */

class KeyboardPolicy extends namespace.policy.canvas.CanvasPolicy {
  constructor() {
    super();
  }

  /**
   * @param {*} canvas
   * @param {*} keyCode
   * @param {*} event
   */
  onKeyUp(canvas, keyCode, event) { }

  /**
   * @param {*} canvas
   * @param {*} keyCode
   * @param {*} event
   */
  onKeyDown(canvas, keyCode, event) { }
}

namespace.policy.canvas.KeyboardPolicy = KeyboardPolicy;
